﻿namespace Zhaoxi.SqlSugar.Common
{
    public class CustomConnectionConfig
    {
        /// <summary>
        /// 主库操作字符串
        /// </summary>
        public static string ConnectionString001 = "Data Source=DESKTOP-A9RHKQI;Initial Catalog=ZhaoxiSqlSugarDb;User ID=sa;Password=123456";
         
        /// <summary>
        /// CodeFirst-专用字符串
        /// </summary>
        public static string ConnectionString002 = "Data Source=PC-202206030027;Initial Catalog=ZhaoxiSqlSugarDb_Info;User ID=sa;Password=sa123";

        /// <summary>
        /// 跨库查询字符串  //ZhaoxiSqlSugarDb_Item
        /// </summary>
        public static string ConnectionString003 = "Data Source=PC-202206030027;Initial Catalog = ZhaoxiSqlSugarDb_Item; User ID = sa; Password=sa123";


        /// <summary>
        /// 测试分库的链接字符串，如果要修改--修改PC-202206030027   和 用户名密码即可
        /// </summary>
        public static string ConnectionString004 = "Data Source=PC-202206030027;Initial Catalog = ZhaoxiSqlSugarDb_Item_2; User ID = sa; Password=sa123";

        /// <summary>
        /// 读写分离中的从库链接
        /// </summary>
        public static string ConnectionStringRead01 = "Data Source=PC-202206030027;Initial Catalog=ZhaoxiSqlSugarDb_Read01;User ID=sa;Password=sa123";

        /// <summary>
        ///  读写分离中的从库链接
        /// </summary>
        public static string ConnectionStringRead02 = "Data Source=PC-202206030027;Initial Catalog=ZhaoxiSqlSugarDb_Read02;User ID=sa;Password=sa123";

    }
}